<?PHP 

 // MinBS Basic Theme - Changeable through CSS 
 // MinBS Developed by Juliano "tibone" Flores
 // MinBS Theme by Juliano "tibone" Flores

// This is the only required file for MinBS to work.
require_once("minbs/required.php");

while($sets = mysql_fetch_array($settings)) { 
  $blog_title = $sets['title'];
  $author = $sets['author'];
  $description = $sets['description']; 

}

?>

<!DOCTYPE HTML>

<html>

<head>
	<title><?PHP echo $blog_title; ?></title>
	<link rel="stylesheet" type="text/css" href="minbs.css" />
</head>

<body>

<center>
<table width="1000">
	<tr>
		<td colspan="2" class="blog_header">
			<center><span class="header_font"><a href="index.php"><?PHP echo $author; ?></a></span></center>
		</td>
	</tr>


	<tr>
		<td class="main_content">
	                <?PHP while ($line = mysql_fetch_array($results)) {  ?>
				<table width="100%">
					<tr>
					  <td>
                                           <?PHP echo $line['title']; ?> : <?PHP echo $line['category']; ?> <span align="right"><?PHP echo $line['date']; ?></span>
                                          </td>
                                         </tr>
                                         <tr>
                                            <td>
                                             <?PHP echo nl2br($line['body']); ?> 
                                            </td>
 					 </tr>
                                  </table>
                                  <br><br><br>
			<?PHP } ?>
                </td>
		<td class="blog_menu">
                	<br>
			<br>
			<br>
			<center>
        	        <span class="blog_menu_font">
                         Posts Categories
                        </span>
		        </center>
			<ul>
			<?PHP while($line2 = mysql_fetch_array($categories)) { ?>
           	        <li> &nbsp;&nbsp;<a href="cat.php?c=<?PHP echo $line2['name']; ?>"><?PHP echo $line2['name']; ?></a></li>
                	<?PHP } ?>
        	        </ul>
                        
 		</td>
	</tr>
	<tr>
	<td colspan="2" class="blog_footer">
        <span class="footer_font">Powered by <a href="http://code.google.com/p/minbs">MinBS</a> - Keep the web open</span>
        </td>
        </tr>
</table>
</center>

</html>
</body>




 